package example.documentbased.editorModule.views
{
	import mx.collections.ArrayList;
	import mx.events.MenuEvent;
	
	import org.etherframework.common.IContract;
	
	import spark.events.IndexChangeEvent;

	public interface IEditorModuleViewContract extends IContract
	{
		function colorChanged(color:uint):void;
		
		function nameClicked():void;
		
		function menuItemClicked(event:MenuEvent):void;
		
		[Bindable("propertyChange")]
		function get color():uint;
		function set color(value:uint):void;
		
		[Bindable("propertyChange")]
		function get editorName():String;
		function set editorName(value:String):void;
		
		[Bindable("propertyChange")]
		function get openedDocuments():ArrayList;
		function set openedDocuments(value:ArrayList):void;
		
		[Bindable("propertyChange")]
		function get menuItems():Array;
		function set menuItems(value:Array):void;
		
		[Bindable("propertyChange")]
		function get selectedItem():*;
		function set selectedItem(value:*):void;
	}
}